.Settings {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  grid-template-columns: 1fr 5fr;
  width: 100%;
  border-radius: 1rem;
  grid-area: content;
  padding: var(--space-xl-fixed) var(--space-2xl-fixed);
  position: relative;
  margin-bottom: 35px;
}

.Settings .Field,
.Accessibility .Field,
.InstallModal__dialog .Field,
.ModifyInstall__dialog .Field {
  padding: var(--space-md) 0px;
  width: 100%;
}

.Settings .Field label,
.Accessibility .Field label,
.InstallModal__dialog .Field label,
.ModifyInstall__dialog .Field label {
  cursor: default;
  margin-bottom: var(--space-md);
  font: var(--font-secondary-regular);
  font-size: var(--text-md);
  line-height: var(--space-lg);
  color: var(--text-secondary);
}

.settingsWrapper {
  margin-inline-end: auto;
  max-width: 513px;
  display: flex;
  flex-direction: column;
  place-self: center;
  place-items: flex-start;
  width: 100%;
  padding-bottom: var(--space-xs);
}

.headerTitle {
  transition: 350ms;
  margin-top: 0px;
  margin-bottom: var(--space-2xs);
}

.headerTitle > svg {
  margin-inline-start: 12px;
}

.settingSubheader {
  text-align: start;
  margin-top: 0;
}

.settingsWrapper > .backButton {
  position: absolute;
  top: 2rem;
  right: 100%;
}

.settingsTools {
  margin-block: var(--space-md);
  justify-content: left;
}

.save {
  cursor: default;
  margin-block: var(--space-md) 0;
  margin-inline: var(--space-md) 0;
  padding-block-end: var(--space-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: var(--font-secondary-regular-italic);
  font-size: var(--text-sm);
  line-height: var(--space-md);
  /* identical to box height */
  color: var(--text-secondary);
}

.appName {
  margin-inline-start: var(--space-md);
  padding-block: var(--space-xs);
  display: flex;
  align-items: center;
  font: var(--font-secondary-regular-italic);
  font-size: var(--text-sm);
  line-height: var(--space-md);
  /* identical to box height */
  color: #5a5e5f;
}

.save > .material-icons {
  font-size: var(--text-2xl);
  margin-inline-start: 6px;
}

.warning {
  color: var(--status-warning);
  font-size: var(--text-md);
  width: 100%;
  max-width: 513px;
  white-space: break-spaces;
  padding-top: var(--space-3xs);
  font-weight: bold;
}

.error {
  color: var(--danger);
  font-size: var(--text-md);
  width: 100%;
  max-width: 513px;
  white-space: break-spaces;
  padding-top: var(--space-3xs);
  font-weight: bold;
}

.smallLink {
  font-size: var(--text-sm);
  width: 100%;
  max-width: 513px;
  white-space: break-spaces;
  padding-top: var(--space-3xs);
  cursor: pointer;
  transition: 300ms;
}

.smallLink:hover {
  color: var(--text-secondary);
}

a {
  cursor: pointer;
}
.settingsWrapper > .button.is-text {
  margin-inline: 8px;
  padding-block: 8px;
  color: var(--text-quartenary);
}

.button.is-footer {
  margin-block: 8px;
  min-width: 120px;
  max-height: 80px;
  background-color: transparent;
  box-shadow: none;
  color: var(--text-default);
}

.button.is-footer:hover,
.button.is-footer:focus-visible {
  background-color: var(--stop-button);
  color: var(--text-hover);
  box-shadow: 0px 0px 0px 3px var(--danger, var(--text-default));
}

.button.is-danger.is-footer {
  background: var(--status-warning);
  color: var(--text-tertiary);
  font-weight: 700;
}

.button.is-danger.is-footer:hover,
.button.is-danger.is-footer:focus-visible {
  background: var(--status-warning-hover);
}

.button.is-danger:disabled,
.button.is-danger.is-footer:disabled {
  background: var(--icon-disabled);
  color: var(--text-default);
}

.button.is-footer.isSuccess {
  color: var(--success) !important;
}

.footerFlex {
  margin-inline-start: 6px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 16px;
}

.button-icontext-flex {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  margin-block: auto;
  margin-inline: auto;
  gap: 4px;
  position: relative;
}

.button-icontext-flex .button-icon-text {
  margin-block: auto;
  font-size: var(--text-sm);
}

.button-icon-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.addRemoveSvgButtons button {
  min-width: none;
  max-width: none;
  margin: 0;
}

.advancedSetting {
  text-align: start;
}

.settingsWrapper .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.infoBox.saves-warning {
  font-weight: var(--semibold);
  font-size: var(--text-lg);
}

.infoBox.saves-warning svg {
  padding-inline-end: 10px;
}

.customCSSArea {
  border-radius: var(--space-3xs);
  width: 100%;
  min-height: 200px;
  background: var(--input-background);
  font-family: var(--primary-font-family), 'Noto Color Emoji';
  font-weight: normal;
  font-size: var(--text-md);
  line-height: 19px;
  color: var(--text-secondary);
  border: none;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 100px;
  padding: 0.5rem;
}

.customCSSWarning {
  background: var(--anticheat-denied, var(--status-danger));
  color: var(--brand-text-01);
  text-align: start;
  padding: var(--space-md);
  display: flex;
  gap: var(--space-md);
  border-radius: var(--space-3xs);
}
